package com.sunwayhorizo.health.business.clinic.emr.template.query;

import java.util.List;

import javax.ejb.Local;

import com.sunwayhorizo.health.hl7.common.Hl7Exception;

@Local
public interface ClinicLibraryQueryLocal
{
    /**
     * 根据科室角色id，诊疗编码查询诊疗库集合
     * @param conceptCode 诊疗类别code值
     * @param deptRoleid 科室RIM 角色id
     * @return List<Object>
     * @throws Hl7Exception
     */
    public List<Object> findClinicLibList(String conceptCode,String deptRoleid) throws Hl7Exception;
    
    /**
     * 根据科室角色id，诊疗编码查询诊疗库集合,带分页
     * @param conceptCode 诊疗类别code值
     * @param deptRoleid 科室RIM 角色id
     * @param currentPage 当前页记录数
     * @param pageSize 当前第几页
     * @return List<Object>
     * @throws Hl7Exception
     */
    public List<Object> findClinicLibListByPage(String conceptCode,String deptRoleid,int currentPage, int pageSize) throws Hl7Exception;
    
    /**
     * 根据名称查找动作id
     * @param name
     * @return
     * @throws Hl7Exception
     */
    @SuppressWarnings("rawtypes")
    public List findActIdByName(String name) throws Hl7Exception;
}
